package com.homedo.odin.solution.service;

import com.homedo.core.common.base.service.BaseService;
import com.homedo.odin.solution.dao.UserScoreLevelMapper;
import com.homedo.odin.solution.model.entity.UserScoreLevel;
import java.util.List;
import org.springframework.stereotype.Service;

/**
 * <p> 用户积分等级明细 服务实现类 </p>
 *
 * @author HarveyDing
 * @since 2018-03-08
 */
@Service
public class UserScoreLevelServiceImpl extends BaseService<UserScoreLevelMapper, UserScoreLevel> {

    public List<UserScoreLevel> findAll() {
        return baseMapper.findAll();
    }

    public UserScoreLevel selectByUserId(Integer userId) {
        return baseMapper.selectByUserId(userId);
    }
}
